package com.yansl.http.annotation;

import java.lang.annotation.*;

import org.springframework.context.annotation.Import;

import com.yansl.http.autoconfig.DefaultImportSelector;
import com.yansl.http.autoconfig.HttpBeanRegistrar;

/**
 * @description: 启用Http注解
 * @author: eshengtai
 * @create: 2022-12-17 10:02
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })
@Documented
@Import({ DefaultImportSelector.class, HttpBeanRegistrar.class })
public @interface EnableHttp {
    /**
     * 扫描路径
     * 
     * @return
     */
    String scanPackage() default "";
}
